<template>
  <div class="title-bar">
    <div class="left">
      <img src="../../assets/logo.png" class="logo" />
      <menu-bar-vue></menu-bar-vue>
    </div>
    <div class="right">
      <window-tool-vue></window-tool-vue>
    </div>
  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue'
import MenuBarVue from './cpms/menu-bar.vue'
import WindowToolVue from './cpms/window-tool.vue'

export default defineComponent({
  setup() {
    return {}
  },
  components: { MenuBarVue, WindowToolVue }
})
</script>

<style scoped lang="less">
.title-bar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  -webkit-app-region: drag;
  .left {
    display: flex;
    align-items: center;
    -webkit-app-region: no-drag;
    .logo {
      width: 15px;
      height: 15px;
      margin: 0 15px;
    }
  }
}
</style>
